home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2790 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  956 b 

  1. Path: news.iddis.com!jarnot
  2. From: jarnot@iddis.com (Kevin J. Jarnot)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: add .exe
  5. Date: 23 Jan 1996 03:11:08 GMT
  6. Organization: IDD Information Services
  7. Message-ID: <JARNOT.96Jan22221108@box10.dstar.iddis.com>
  8. References: <4dpls2$o7h@ctylnk.cityu.edu.hk>
  9. Reply-To: jarnot@iddis.com
  10. NNTP-Posting-Host: box10.dstar.iddis.com
  11. To: 93840992@cpccux0.cityu.edu.hk ()
  12. In-reply-to: 93840992@cpccux0.cityu.edu.hk's message of 20 Jan 1996 03:00:18
  13.     GMT
  14.  
  15. >>>>> "Someone" ==   <93840992@cpccux0.cityu.edu.hk> writes:
  16.  
  17.     Someone> Dear all, Can I include a .exe file in C program? (and
  18.     Someone> how?)  Thanks in advanced
  19.  
  20. No.  But you can execute that program in a sub-shell.
  21. I think the func you want to look up is either exec() or
  22. spawn() (haven't done DOS in awhile).
  23.  
  24.  
  25. Kevin
  26. -- 
  27. Kevin J. Jarnot - Senior Software Engineer | mailto:jarnot@iddis.com 
  28. IDD Information Services  Waltham, MA      | http://www-cs.canisius.edu/~jarnot
  29.